<template>
  <ContentWrap>
    <IFrame v-if="!loading" v-loading="loading" :src="src" />
  </ContentWrap>
</template>
<script lang="ts" setup>
defineOptions({ name: 'UniversalLogfile' })

const loading = ref(true) // 是否加载中
const src = ref(import.meta.env.VITE_BASE_URL + '/endpoint/logfile')

/** 初始化 */
onMounted(async () => {
  try {
  } finally {
    loading.value = false
  }
})
</script>
